; Made by Sparxie

; Author link: 
; Patreon.com/c/Sparxie

; Thx for ur support!

; Please dont alter my author link if you modify or repost this mod. Thank you for your understanding!


[Constants]
global $active0
global $active1
global $Skin
global $BT
global persist $Makeup = 0
global persist $Hair = 0
global persist $Eyes = 0
global persist $Horn = 0
global persist $Ear = 0
global persist $HairBow = 0
global persist $HairAC = 0
global persist $FullSuit = 0
global persist $Shoes = 1
global persist $Socks = 1
global persist $SockCL = 1
global persist $Top = 0
global persist $BodySuit = 0
global persist $ArmAC = 0
global persist $Cuff = 0
global persist $Choker = 0
global persist $TopBow = 0
global persist $Corset = 0
global persist $LegRing = 1
global persist $Bra = 0
global persist $Underwear = 0
global persist $Wings = 0
global persist $Tail = 0
global persist $BraDec = 0
global persist $SuitStrap = 1
global persist $Tattoo = 0
global persist $HairCL = 1
global persist $SuitCL = 1

[Present]
post $active0 = 0
post $active1 = 0
post $Skin = 0
post $BT = 0

[TextureOverride_IB_SkinCheck1]
hash = a23aa8a3
$skin = 0
$active0 = 1
$active1 = 1
$ActiveCharacter = 1

[TextureOverride_IB_SkinCheck2]
hash = d9e49957
$skin = 1
$active1 = 1

[TextureOverride_IB_BTCheck]
hash = 19086112
$BT = 1

[Key$Makeup]
condition = $active1 == 1
key = 0
type = cycle
$Makeup = 0,1

[Key$Hair]
condition = $active1 == 1
key = 9
type = cycle
$Hair = 0,1

[Key$Eyes]
condition = $active1 == 1
key = 8
type = cycle
$Eyes = 0,1,2

[Key$Horn]
condition = $active0 == 1
key = 7
type = cycle
$Horn = 0,1

[Key$Ear]
condition = $active1 == 1
key = 6
type = cycle
$Ear = 0,1

[Key$HairBow]
condition = $active1 == 1
key = 5
type = cycle
$HairBow = 0,1

[Key$FullSuit]
condition = $active0 == 1
key = no_modifiers VK_UP
type = cycle
$FullSuit = 0,1

[Key$Shoes]
condition = $active0 == 1
key = no_modifiers VK_down
type = cycle
$Shoes = 0,1,2,3

[Key$Socks]
condition = $active0 == 1
key = no_modifiers VK_left
type = cycle
$Socks = 0,1

[Key$SockCL]
condition = $active0 == 1
key = no_modifiers VK_right
type = cycle
$SockCL = 0,1

[Key$Top]
condition = $active0 == 1
key = CTRL VK_UP
type = cycle
$Top = 0,1

[Key$BodySuit]
condition = $active0 == 1
key = CTRL VK_down
type = cycle
$BodySuit = 0,1

[Key$ArmAC]
condition = $active0 == 1
key = CTRL VK_left
type = cycle
$ArmAC = 0,1

[Key$Cuff]
condition = $active0 == 1
key = CTRL VK_right
type = cycle
$Cuff = 0,1,2

[Key$Choker]
condition = $active0 == 1
key = ALT VK_UP
type = cycle
$Choker = 0,1

[Key$TopBow]
condition = $active0 == 1
key = ALT VK_down
type = cycle
$TopBow = 0,1

[Key$Corset]
condition = $active0 == 1
key = ALT VK_left
type = cycle
$Corset = 0,1

[Key$LegRing]
condition = $active0 == 1
key = ALT VK_right
type = cycle
$LegRing = 0,1

[Key$Bra]
condition = $active0 == 1
key = [
type = cycle
$Bra = 0,1

[Key$Underwear]
condition = $active0 == 1
key = ]
type = cycle
$Underwear = 0,1

[Key$Wings]
condition = $active0 == 1
key = ;
type = cycle
$Wings = 0,1

[Key$Tail]
condition = $active1 == 1
key = '
type = cycle
$Tail = 0,1,2
'
[Key$BraDec]
condition = $active0 == 1
key = ,
type = cycle
$BraDec = 0,1

[Key$SuitStrap]
condition = $active1 == 1
key = .
type = cycle
$SuitStrap = 0,1

[Key$HairAC]
condition = $active0 == 1
key = Ctrl i
type = cycle
$HairAC = 0,1

[Key$Tattoo]
condition = $active0 == 1
key = Ctrl k
type = cycle
$Tattoo = 0,1

[Key$HairCL]
condition = $active1 == 1
key = ALT i
type = cycle
$HairCL = 0,1

[Key$SuitCL]
condition = $active0 == 1
key = ALT k
type = cycle
$SuitCL = 0,1
[TextureOverrideSigridHairBlend]
hash = 380ee24b
handling = skip
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridHairTexcoord
	vb2 = ResourceSigridHairBlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridHairPosition
	vb2 = ResourceSigridHairBlend
	Draw = 17522, 0
endif

[TextureOverrideSigridHairTexcoord]
hash = 6b1c911c
vb1 = ResourceSigridHairTexcoord

[TextureOverrideSigridHairVertexLimitRaise]
hash = 840c1713
override_vertex_count = 17522
override_byte_stride = 40

[TextureOverrideSigridTailBlend]
hash = 710b43f7
handling = skip
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridTailTexcoord
	vb2 = ResourceSigridTailBlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridTailPosition
	vb2 = ResourceSigridTailBlend
	Draw = 3945, 0
endif

[TextureOverrideSigridTailTexcoord]
hash = 84ef2fb1
vb1 = ResourceSigridTailTexcoord

[TextureOverrideSigridTailVertexLimitRaise]
hash = cb72b377
override_vertex_count = 3945
override_byte_stride = 40

[TextureOverrideSigridHairDecBowBlend]
hash = 68bfe8f5
handling = skip
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridHairDecBowTexcoord
	vb2 = ResourceSigridHairDecBowBlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridHairDecBowPosition
	vb2 = ResourceSigridHairDecBowBlend
	Draw = 346, 0
endif

[TextureOverrideSigridHairDecBowTexcoord]
hash = 937473ae
vb1 = ResourceSigridHairDecBowTexcoord

[TextureOverrideSigridHairDecBowVertexLimitRaise]
hash = 6a8ea608
override_vertex_count = 346
override_byte_stride = 40

[TextureOverrideSigridHairDecBlend]
hash = 228eb9d6
handling = skip
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridHairDecTexcoord
	vb2 = ResourceSigridHairDecBlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridHairDecPosition
	vb2 = ResourceSigridHairDecBlend
	Draw = 396, 0
endif

[TextureOverrideSigridHairDecTexcoord]
hash = 951e896a
vb1 = ResourceSigridHairDecTexcoord

[TextureOverrideSigridHairDecVertexLimitRaise]
hash = 62a109a8
override_vertex_count = 396
override_byte_stride = 40

[TextureOverrideSigridBodyBlend]
hash = 8c0622d7
handling = skip
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridBodyTexcoord
	vb2 = ResourceSigridBodyBlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridBodyPosition
	vb2 = ResourceSigridBodyBlend
	Draw = 215105, 0
endif

[TextureOverrideSigridBodyTexcoord]
hash = f6474154
vb1 = ResourceSigridBodyTexcoord

[TextureOverrideSigridBodyVertexLimitRaise]
hash = 01b35c45
override_vertex_count = 215105
override_byte_stride = 40

[TextureOverrideSigridLegsBlend]
hash = bf543990
handling = skip
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridLegsTexcoord
	vb2 = ResourceSigridLegsBlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridLegsPosition
	vb2 = ResourceSigridLegsBlend
	Draw = 152366, 0
endif

[TextureOverrideSigridLegsTexcoord]
hash = 5c0fefda
vb1 = ResourceSigridLegsTexcoord

[TextureOverrideSigridLegsVertexLimitRaise]
hash = dd9c8d5e
override_vertex_count = 152366
override_byte_stride = 40

[TextureOverrideSigridArmArmorBlend]
hash = 098fd9e8
handling = skip
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridArmArmorTexcoord
	vb2 = ResourceSigridArmArmorBlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridArmArmorPosition
	vb2 = ResourceSigridArmArmorBlend
	Draw = 154, 0
endif

[TextureOverrideSigridArmArmorTexcoord]
hash = ece3a3d2
vb1 = ResourceSigridArmArmorTexcoord

[TextureOverrideSigridArmArmorVertexLimitRaise]
hash = fab82e2f
override_vertex_count = 154
override_byte_stride = 40

[TextureOverrideSigridHairA]
hash = 84618ee0
match_first_index = 0
match_index_count = 22296
handling = skip
ib = ResourceSigridHairAIB
if $HairCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridHairADiffuseb
endif
run = CommandList\ZZMI\SetTextures

if $Hair == 1
drawindexed = 21036, 0, 0
endif

if $Ear == 0
if $Hair == 0
drawindexed = 1290, 21036, 0
elif $Hair == 1
drawindexed = 1290, 22326, 0
endif
endif

Resource\ZZMI\Diffuse = ref ResourceSigridHairADiffuse
Resource\ZZMI\NormalMap = ref ResourceSigridHairANormalMap
Resource\ZZMI\LightMap = ref ResourceSigridHairALightMap
Resource\ZZMI\MaterialMap = ref ResourceSigridHairAMaterialMap
if $BT == 1
ps-t8 = ref ResourceSigridHairAGlowMap
Resource\ZZMI\WengineFx = ref ResourceSigridHairAGlowMap
endif
run = CommandList\ZZMI\SetTextures

if $HairBow == 0
drawindexed = 5820, 23616, 0
endif
[TextureOverrideSigridHairB]
hash = 84618ee0
match_first_index = 22296
match_index_count = 1164
handling = skip
ib = ResourceSigridHairBIB
if $HairCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridHairADiffuseb
endif
run = CommandList\ZZMI\SetTextures

if $Hair == 1
drawindexed = 1164, 0, 0
endif

if $HairCL == 0
Resource\ZZMI\Diffuse = ref ResourceSigridHairADiffuse
elif $HairCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridHairADiffuse2
endif
Resource\ZZMI\NormalMap = ref ResourceSigridHairANormalMap
Resource\ZZMI\LightMap = ref ResourceSigridHairALightMap
Resource\ZZMI\MaterialMap = ref ResourceSigridHairAMaterialMap
if $BT == 1
ps-t8 = ref ResourceSigridHairAGlowMap
Resource\ZZMI\WengineFx = ref ResourceSigridHairAGlowMap
endif
run = CommandList\ZZMI\SetTextures

if $Hair == 0
drawindexed = 36252, 1164, 0
endif
[TextureOverrideSigridTailA]
hash = b30db54e
match_first_index = 0
match_index_count = 7383
handling = skip
ib = ResourceSigridTailAIB

if $HairCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridHairADiffuseb
endif
run = CommandList\ZZMI\SetTextures

if $Tail == 1
drawindexed = 7383, 0, 0
endif

if $SuitCL == 0
Resource\ZZMI\Diffuse = ref ResourceSigridBodyBDiffuse
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyBMaterialMap
elif $SuitCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridBodyBDiffuse2
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyBMaterialMap2
endif
Resource\ZZMI\NormalMap = ref ResourceSigridBodyBNormalMap
Resource\ZZMI\LightMap = ref ResourceSigridBodyBLightMap
run = CommandList\ZZMI\SetTextures

if $Tail == 0
drawindexed = 11904, 7383, 0
endif
[TextureOverrideSigridHairDecBowA]
hash = b51bdd59
match_first_index = 0
match_index_count = 864
handling = skip
ib = ResourceSigridHairDecBowAIB
drawindexed = 864, 0, 0

[TextureOverrideSigridHairDecA]
hash = 64d7d56f
match_first_index = 0
match_index_count = 900
handling = skip
ib = ResourceSigridHairDecAIB

if $HairAC == 0
drawindexed = 900, 0, 0
endif
[TextureOverrideSigridBodyA]
hash = a23aa8a3
match_first_index = 0
match_index_count = 42759
handling = skip
ib = ResourceSigridBodyAIB
Resource\ZZMI\Diffuse = ref ResourceSigridBodyADiffuse
Resource\ZZMI\NormalMap = ref ResourceSigridBodyANormalMap
Resource\ZZMI\LightMap = ref ResourceSigridBodyALightMap
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyAMaterialMap
run = CommandList\ZZMI\SetTextures
if $BT == 1
ps-t8 = null
endif

drawindexed = 117210, 309543, 0


if $SuitCL == 0
Resource\ZZMI\Diffuse = ref ResourceSigridBodyBDiffuse
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyBMaterialMap
elif $SuitCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridBodyBDiffuse2
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyBMaterialMap2
endif
Resource\ZZMI\NormalMap = ref ResourceSigridBodyBNormalMap
Resource\ZZMI\LightMap = ref ResourceSigridBodyBLightMap
if $BT == 1
ps-t8 = ef ResourceSigridBodyBGlowMap
Resource\ZZMI\WengineFx = ref ResourceSigridBodyBGlowMap
endif
run = CommandList\ZZMI\SetTextures
Resource\RabbitFX\FXMap = ref ResourceFXmap1
run = CommandList\RabbitFX\Run

if $Corset == 0
if $FullSuit == 0
if $BodySuit == 1
drawindexed = 15624, 0, 0
if $Underwear == 0
drawindexed = 1152, 15624, 0
endif
endif
elif $FullSuit == 1
drawindexed = 15624, 0, 0
if $Underwear == 0
drawindexed = 1152, 15624, 0
endif
endif
endif

if $Bra == 0
if $FullSuit == 0
if $BodySuit == 1
drawindexed = 152280, 16776, 0
if $BraDec == 0
drawindexed = 24699, 169056, 0
endif
if $Top == 1
drawindexed = 15336, 193755, 0
endif
endif
elif $FullSuit == 1
drawindexed = 152280, 16776, 0
if $BraDec == 0
drawindexed = 24699, 169056, 0
endif
drawindexed = 15336, 193755, 0
endif
endif

if $Cuff == 1
drawindexed = 67740, 209091, 0
endif

if $Choker == 0
drawindexed = 32712, 276831, 0
endif

if $FullSuit == 0
if $Top == 0
drawindexed = 175092, 426753, 0
endif
if $BodySuit == 0
if $\Sigrid\MaskTransparency\shadow_pass == 0
run = CommandList\Sigrid\MaskTransparency\Bind
run = CommandList\Sigrid\MaskTransparency\PrepareDraw
drawindexed = 103908, 601845, 0
run = CommandList\Sigrid\MaskTransparency\Restore
endif
if $SuitStrap == 0
drawindexed = 12312, 705753, 0
endif
endif

endif

if $Wings == 0
drawindexed = 111042, 718065, 0
endif

if $TopBow == 0
drawindexed = 12624, 829107, 0
endif

if $Cuff == 0
if $FullSuit == 0
if $Top == 0
drawindexed = 15492, 841731, 0
elif $Top == 1
drawindexed = 15648, 857223, 0
endif
elif $FullSuit == 1
drawindexed = 15648, 857223, 0
endif
endif

if $ArmAC == 0
if $FullSuit == 0
if $Top == 1
drawindexed = 27468, 872871, 0
endif
elif $FullSuit == 1
drawindexed = 27468, 872871, 0
endif
endif

if $Horn == 0
drawindexed = 88656, 900339, 0
endif
[TextureOverrideSigridBodyB]
hash = a23aa8a3
match_first_index = 42759
match_index_count = 288
handling = skip
ib = ResourceSigridBodyBIB
if $SuitCL == 0
Resource\ZZMI\Diffuse = ref ResourceSigridBodyBDiffuse
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyBMaterialMap
elif $SuitCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridBodyBDiffuse2
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyBMaterialMap2
endif
Resource\ZZMI\NormalMap = ref ResourceSigridBodyBNormalMap
Resource\ZZMI\LightMap = ref ResourceSigridBodyBLightMap
if $BT == 1
ps-t8 = null
endif
run = CommandList\ZZMI\SetTextures

if $FullSuit == 1
if $Top == 0
drawindexed = 109635, 0, 0
endif
endif
[TextureOverrideSigridLegsA]
hash = b20f90ea
match_first_index = 0
match_index_count = 19182
handling = skip
ib = ResourceSigridLegsAIB

if $SuitCL == 0
Resource\ZZMI\Diffuse = ref ResourceSigridBodyBDiffuse
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyBMaterialMap
elif $SuitCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridBodyBDiffuse2
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyBMaterialMap2
endif
Resource\ZZMI\NormalMap = ref ResourceSigridBodyBNormalMap
Resource\ZZMI\LightMap = ref ResourceSigridBodyBLightMap
run = CommandList\ZZMI\SetTextures
Resource\RabbitFX\FXMap = ref ResourceFXmap1
run = CommandList\RabbitFX\Run


if $Underwear == 0
if $FullSuit == 0
if $BodySuit == 1
drawindexed = 95244, 183624, 0
endif
elif $FullSuit == 1
drawindexed = 95244, 183624, 0
endif
endif

if $BodySuit == 0
if $FullSuit == 1
drawindexed = 225948, 278868, 0
endif
endif

if $Shoes == 0
drawindexed = 46482, 640242, 0
elif $Shoes == 1
drawindexed = 18798, 686724, 0
elif $Shoes == 2
drawindexed = 36708, 603534, 0
endif

if $BodySuit == 0
if $FullSuit == 0
if $\Sigrid\MaskTransparency\shadow_pass == 0
run = CommandList\Sigrid\MaskTransparency\Bind
run = CommandList\Sigrid\MaskTransparency\PrepareDraw
drawindexed = 70938, 705522, 0
run = CommandList\Sigrid\MaskTransparency\Restore
endif
endif
endif

if $LegRing == 0
drawindexed = 10356, 776460, 0
if $Shoes == 0
drawindexed = 2772, 786816, 0
elif $Shoes == 3
drawindexed = 2772, 786816, 0
endif
endif

if $Tattoo == 0
Resource\ZZMI\Diffuse = ref ResourceSigridBodyADiffuse
elif $Tattoo == 1
Resource\ZZMI\Diffuse = ref ResourceSigridBodyADiffuse2
endif
Resource\ZZMI\NormalMap = ref ResourceSigridBodyANormalMap
Resource\ZZMI\LightMap = ref ResourceSigridBodyALightMap
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyAMaterialMap
run = CommandList\ZZMI\SetTextures
if $Tattoo == 0
$\RabbitFX\H = 0
$\RabbitFX\S = 0
$\RabbitFX\V = 0
$\RabbitFX\brightness = 10
$\RabbitFX\interpolate = 1
Resource\RabbitFX\Glowmap = ref ResourceFXmap3
endif
run = CommandList\RabbitFX\Run

drawindexed = 11556, 591978, 0

if $Socks == 0
drawindexed = 33684, 504816, 0
endif

if $SockCL == 0
Resource\ZZMI\Diffuse = ref ResourceSigridBodyADiffuse
Resource\ZZMI\LightMap = ref ResourceSigridBodyALightMap
elif $SockCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridBodyADiffuse2
Resource\ZZMI\LightMap = ref ResourceSigridBodyALightMap2
endif
Resource\ZZMI\NormalMap = ref ResourceSigridBodyANormalMap
Resource\ZZMI\MaterialMap = ref ResourceSigridBodyAMaterialMap
run = CommandList\ZZMI\SetTextures

if $Socks == 0
drawindexed = 67416, 0, 0
elif $Socks == 1
drawindexed = 53478, 538500, 0
endif

run = CustomShaderSocks1
[CustomShaderSocks1]
blend = ADD BLEND_FACTOR INV_BLEND_FACTOR
blend_factor[0] = 0.98
blend_factor[1] = 0.98
blend_factor[2] = 0.98
blend_factor[3] = 1
handling = skip

if $SockCL == 0
if $Socks == 0
drawindexed = 116208, 67416, 0
endif
endif

run = CustomShaderSocks2
[CustomShaderSocks2]
blend = ADD BLEND_FACTOR INV_BLEND_FACTOR
blend_factor[0] = 0.85
blend_factor[1] = 0.85
blend_factor[2] = 0.85
blend_factor[3] = 1
handling = skip

if $SockCL == 1
if $Socks == 0
drawindexed = 116208, 67416, 0
endif
endif
[TextureOverrideSigridArmArmorA]
hash = add6ff13
match_first_index = 0
match_index_count = 624
handling = skip
ib = ResourceSigridArmArmorAIB

if $BT == 1
drawindexed = 516, 0, 0
endif
[TextureOverrideHairShadow]
hash = 81e925ed
if $Hair == 0
handling = skip
endif

[TextureOverrideSigridFaceADiffuse]
hash = 48625d6d
match_priority = 0
if $Makeup == 0 && $Eyes == 0
Resource\ZZMI\Diffuse = ref ResourceSigridFaceADiffuseMap
elif $Makeup == 0 && $Eyes == 1
Resource\ZZMI\Diffuse = ref ResourceSigridFaceADiffuseMap12
elif $Makeup == 0 && $Eyes == 2
Resource\ZZMI\Diffuse = ref ResourceSigridFaceADiffuseMap13
elif $Makeup == 1 && $Eyes == 0
Resource\ZZMI\Diffuse = ref ResourceSigridFaceADiffuseMap21
elif $Makeup == 1 && $Eyes == 1
Resource\ZZMI\Diffuse = ref ResourceSigridFaceADiffuseMap22
elif $Makeup == 1 && $Eyes == 2
Resource\ZZMI\Diffuse = ref ResourceSigridFaceADiffuseMap23
endif
run = CommandList\ZZMI\SetTextures

[TextureOverrideSigridEyeBrowsADiffuse]
hash = 454ff522
match_priority = 0
if $HairCL == 0
Resource\ZZMI\Diffuse = ref ResourceSigridFaceADiffuseMap
elif $HairCL == 1
Resource\ZZMI\Diffuse = ref ResourceSigridFaceADiffuseMap12
endif
run = CommandList\ZZMI\SetTextures
[ResourceSigridHairPosition]
type = Buffer
stride = 40
filename = SigridHairPosition.buf

[ResourceSigridHairBlend]
type = Buffer
stride = 32
filename = SigridHairBlend.buf

[ResourceSigridHairTexcoord]
type = Buffer
stride = 20
filename = SigridHairTexcoord.buf

[ResourceSigridHairAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridHairA.ib

[ResourceSigridHairBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridHairB.ib

[ResourceSigridTailPosition]
type = Buffer
stride = 40
filename = SigridTailPosition.buf

[ResourceSigridTailBlend]
type = Buffer
stride = 32
filename = SigridTailBlend.buf

[ResourceSigridTailTexcoord]
type = Buffer
stride = 20
filename = SigridTailTexcoord.buf

[ResourceSigridTailAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridTailA.ib

[ResourceSigridHairDecBowPosition]
type = Buffer
stride = 40
filename = SigridHairDecBowPosition.buf

[ResourceSigridHairDecBowBlend]
type = Buffer
stride = 32
filename = SigridHairDecBowBlend.buf

[ResourceSigridHairDecBowTexcoord]
type = Buffer
stride = 20
filename = SigridHairDecBowTexcoord.buf

[ResourceSigridHairDecBowAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridHairDecBowA.ib

[ResourceSigridHairDecPosition]
type = Buffer
stride = 40
filename = SigridHairDecPosition.buf

[ResourceSigridHairDecBlend]
type = Buffer
stride = 4
filename = SigridHairDecBlend.buf

[ResourceSigridHairDecTexcoord]
type = Buffer
stride = 20
filename = SigridHairDecTexcoord.buf

[ResourceSigridHairDecAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridHairDecA.ib

[ResourceSigridBodyPosition]
type = Buffer
stride = 40
filename = SigridBodyPosition.buf

[ResourceSigridBodyBlend]
type = Buffer
stride = 32
filename = SigridBodyBlend.buf

[ResourceSigridBodyTexcoord]
type = Buffer
stride = 20
filename = SigridBodyTexcoord.buf

[ResourceSigridBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridBodyA.ib

[ResourceSigridBodyBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridBodyB.ib

[ResourceSigridLegsPosition]
type = Buffer
stride = 40
filename = SigridLegsPosition.buf

[ResourceSigridLegsBlend]
type = Buffer
stride = 32
filename = SigridLegsBlend.buf

[ResourceSigridLegsTexcoord]
type = Buffer
stride = 20
filename = SigridLegsTexcoord.buf

[ResourceSigridLegsAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridLegsA.ib

[ResourceSigridArmArmorPosition]
type = Buffer
stride = 40
filename = SigridArmArmorPosition.buf

[ResourceSigridArmArmorBlend]
type = Buffer
stride = 4
filename = SigridArmArmorBlend.buf

[ResourceSigridArmArmorTexcoord]
type = Buffer
stride = 28
filename = SigridArmArmorTexcoord.buf

[ResourceSigridArmArmorAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridArmArmorA.ib

[ResourceSigridHairADiffuse]
filename = SigridHairADiffuse.dds
[ResourceSigridHairADiffuseb]
filename = SigridHairADiffuseb.dds
[ResourceSigridHairADiffuse2]
filename = SigridHairADiffuse2.dds

[ResourceSigridHairANormalMap]
filename = SigridHairANormalMap.dds

[ResourceSigridHairALightMap]
filename = SigridHairALightMap.dds

[ResourceSigridHairAMaterialMap]
filename = SigridHairAMaterialMap.dds

[ResourceSigridHairAGlowMap]
filename = SigridHairAGlowMap.dds

[ResourceSigridBodyADiffuse]
filename = SigridBodyADiffuse.dds
[ResourceSigridBodyADiffuse2]
filename = SigridBodyADiffuse2.dds

[ResourceSigridBodyANormalMap]
filename = SigridBodyANormalMap.dds

[ResourceSigridBodyALightMap]
filename = SigridBodyALightMap.dds
[ResourceSigridBodyALightMap2]
filename = SigridBodyALightMap2.dds

[ResourceSigridBodyAMaterialMap]
filename = SigridBodyAMaterialMap.dds

[ResourceSigridBodyAGlowMap]
filename = SigridBodyAGlowMap.dds

[ResourceSigridBodyBDiffuse]
filename = SigridBodyBDiffuse.dds
[ResourceSigridBodyBDiffuse2]
filename = SigridBodyBDiffuse2.dds

[ResourceSigridBodyBNormalMap]
filename = SigridBodyBNormalMap.dds

[ResourceSigridBodyBLightMap]
filename = SigridBodyBLightMap.dds

[ResourceSigridBodyBMaterialMap]
filename = SigridBodyBMaterialMap.dds
[ResourceSigridBodyBMaterialMap2]
filename = SigridBodyBMaterialMap2.dds

[ResourceSigridBodyBGlowMap]
filename = SigridBodyBGlowMap.dds

[ResourceSigridFaceADiffuseMap]
filename = SigridFaceADiffuse.dds
[ResourceSigridFaceADiffuseMap12]
filename = SigridFaceADiffuse12.dds
[ResourceSigridFaceADiffuseMap13]
filename = SigridFaceADiffuse13.dds
[ResourceSigridFaceADiffuseMap21]
filename = SigridFaceADiffuse21.dds
[ResourceSigridFaceADiffuseMap22]
filename = SigridFaceADiffuse22.dds
[ResourceSigridFaceADiffuseMap23]
filename = SigridFaceADiffuse23.dds

[ResourceFXmap1]
filename = FXmap1.dds

[ResourceFXmap2]
filename = FXmap2.dds

[ResourceFXmap3]
filename = FXmap3.dds



[Constants]
global $window_width = 2560	
global $window_height = 1440

global $menu = 0
global $gap = 0.00102
global $mouse_clicked = 0
global $x_size = 0
global $y_size = 0

global $x_size_Button = 0.05
global $y_size_Button = 0.03
global $y_offset_button = 0.055
global $last_mx = 0
global $last_my = 0
global $mx = 0
global $my = 0
global $x_off_off = 0
global $y_off_off = 0
global $mouse_hold = 0
global persist $final_x_off = 0.66
global persist $final_y_off = 0.16
global $is_dragging = 0
global $drag_start_x = 0
global $drag_start_y = 0
global $new_x_off = 0
global $new_y_off = 0
global $total_y_size = 0
global $y_Title_size = 0.045
global $x_Title_size = 0.12
global $y_Credit_size = 0.03
global $x_Credit_size = 0.12
global $press_effect = 0.002
global $ButtonLayerGeneration = 0
global $UI_Thickness = 0.002
global $x_random = -0.01701
global $res_width = 0
global $res_height = 0
global $ActiveCharacter = 0
global $UI_fixed_x_size = 0.347
global $UI_fixed_y_size = 0.64
global $x_size_Background = 0.406
global $y_size_Background = 0.72
global $x_offset_Background = -0.025
global $y_offset_Background = -0.04
global $x_size_Button_Max = 0.107
global $y_size_Button_Max = 0.0095
global $Button_rows = 0
global $Button_fit_x = 0
global $Button_fit_y = 0
global $Button_column_gap = 0
global $Button_group_width = 0
global $Button_scale = 1

global $Button_amount = 28
global $Button_horizontal_max = 2

global $Button_number = 0
global $Button_now = 0
global $Button_x = 0
global $Button_y = 0

[KeyToggleUI]
condition = $ActiveCharacter
key = /
type = cycle
$menu = 0,1

[KeyMouse]
condition = $menu
key = VK_LBUTTON
type = hold
$mouse_clicked = 1
$mouse_hold = 1

[Present]
post $ActiveCharacter = 0

if $menu
    run = CommandListPassWindowInfo
    $x_size = $UI_fixed_x_size
    $y_size = $UI_fixed_y_size

    if $Button_horizontal_max < 1
        $Button_horizontal_max = 1
    endif
    $Button_rows = (($Button_amount - 1) // $Button_horizontal_max) + 1
    $Button_fit_x = (($x_size - ($gap * ($Button_horizontal_max - 1))) / $Button_horizontal_max) / $x_size_Button_Max
    $Button_fit_y = ((($y_size * res_height / res_width) - $y_offset_button - ($gap * ($Button_rows + 1))) / $Button_rows) / $y_size_Button_Max

    if $Button_fit_x < $Button_fit_y
        $Button_scale = $Button_fit_x
    else
        $Button_scale = $Button_fit_y
    endif

    if $Button_scale > 1
        $Button_scale = 1
    endif

    $x_size_Button = $x_size_Button_Max * $Button_scale
    $y_size_Button = $y_size_Button_Max * $Button_scale
    if $final_x_off == -1
        $final_x_off = 0.5 - $x_size/2 + -0.01701
    endif

    run = CommandListDrawUICharacter
    run = CommandListDrawUIBorderXUpper
    run = CommandListDrawUIElement
    run = CommandListDrawUITitle
    run = CommandListDrawUICredit
    run = CommandListDrawUIBorderXLower
    run = CommandListDrawUIBorderXMiddle
    run = CommandListDrawUIBorderXMiddle2
    run = CommandListDrawUIBorderYLeft
    run = CommandListDrawUIBorderYRight
    run = CommandListDrawUIHelp

    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton
    run = CommandListAddButton

    $Button_number = 0
    
    run = CommandListCheckMouse

endif

[CommandListSetButtonCondition]

if $Button_number == 1
    if $FullSuit < 1
        $FullSuit = $FullSuit + 1
    else
        $FullSuit = 0
    endif

elif $Button_number == 2
    if $Makeup < 1
        $Makeup = $Makeup + 1
    else
        $Makeup = 0
    endif

else if $Button_number == 3
    if $Shoes< 3
        $Shoes = $Shoes + 1
    else
        $Shoes = 0
    endif

else if $Button_number == 4
    if $Hair < 1
        $Hair = $Hair + 1
    else
        $Hair = 0
    endif

else if $Button_number == 5
    if $Socks < 1
        $Socks = $Socks + 1
    else
        $Socks = 0
    endif

else if $Button_number == 6
    if $Eyes < 2
        $Eyes = $Eyes + 1
    else
        $Eyes = 0
    endif

else if $Button_number == 7
    if $SockCL < 1
        $SockCL = $SockCL + 1
    else
        $SockCL = 0
    endif

else if $Button_number == 8
    if $Horn< 1
        $Horn = $Horn + 1
    else
        $Horn = 0
    endif

else if $Button_number == 9
    if $Top < 1
        $Top = $Top + 1
    else
        $Top = 0
    endif

else if $Button_number == 10
    if $Ear < 1
        $Ear = $Ear + 1
    else
        $Ear = 0
    endif

else if $Button_number == 11
    if $BodySuit < 1
        $BodySuit = $BodySuit + 1
    else
        $BodySuit = 0
    endif

else if $Button_number == 12
    if $HairBow < 1
        $HairBow = $HairBow + 1
    else
        $HairBow = 0
    endif

else if $Button_number == 13
    if $ArmAC < 1
        $ArmAC = $ArmAC + 1
    else
        $ArmAC = 0
    endif

else if $Button_number == 14
    if $Wings < 1
        $Wings = $Wings + 1
    else
        $Wings = 0
    endif

else if $Button_number == 15
    if $Cuff < 2
        $Cuff = $Cuff + 1
    else
        $Cuff = 0
    endif

else if $Button_number == 16
    if $Tail < 2
        $Tail = $Tail + 1
    else
        $Tail = 0
    endif

else if $Button_number == 17
    if $Bra < 1
        $Bra = $Bra + 1
    else
        $Bra = 0
    endif

else if $Button_number == 18
    if $BraDec < 1
        $BraDec = $BraDec + 1
    else
        $BraDec = 0
    endif

else if $Button_number == 19
    if $Underwear < 1
        $Underwear = $Underwear + 1
    else
        $Underwear = 0
    endif

else if $Button_number == 20
    if $SuitStrap < 1
        $SuitStrap = $SuitStrap + 1
    else
        $SuitStrap = 0
    endif

else if $Button_number == 21
    if $Choker < 1
        $Choker = $Choker + 1
    else
        $Choker = 0
    endif

else if $Button_number == 22
    if $HairAC < 1
        $HairAC = $HairAC + 1
    else
        $HairAC  = 0
    endif

else if $Button_number == 23
    if $TopBow < 1
        $TopBow = $TopBow + 1
    else
        $TopBow = 0
    endif

else if $Button_number == 24
    if $Tattoo < 1
        $Tattoo = $Tattoo + 1
    else
        $Tattoo = 0
    endif

else if $Button_number == 25
    if $Corset < 1
        $Corset = $Corset + 1
    else
        $Corset = 0
    endif

else if $Button_number == 26
    if $HairCL < 1
        $HairCL = $HairCL + 1
    else
        $HairCL = 0
    endif

else if $Button_number == 27
    if $LegRing < 1
        $LegRing = $LegRing + 1
    else
        $LegRing = 0
    endif

else if $Button_number == 28
    if $SuitCL < 1
        $SuitCL = $SuitCL + 1
    else
        $SuitCL = 0
    endif

endif

[CommandListSetButtonIcon]
if $Button_number == 1
    ps-t100 = ResourceButton_item_button
else if $Button_number == 2
    ps-t100 = ResourceButton_item_button
else if $Button_number == 3
    ps-t100 = ResourceButton_item_button
else if $Button_number == 4
    ps-t100 = ResourceButton_item_button
else if $Button_number == 5
    ps-t100 = ResourceButton_item_button
else if $Button_number == 6
    ps-t100 = ResourceButton_item_button
else if $Button_number == 7
    ps-t100 = ResourceButton_item_button
else if $Button_number == 8
    ps-t100 = ResourceButton_item_button
else if $Button_number == 9
    ps-t100 = ResourceButton_item_button
else if $Button_number == 10
    ps-t100 = ResourceButton_item_button
else if $Button_number == 11
    ps-t100 = ResourceButton_item_button
else if $Button_number == 12
    ps-t100 = ResourceButton_item_button
else if $Button_number == 13
    ps-t100 = ResourceButton_item_button
else if $Button_number == 14
    ps-t100 = ResourceButton_item_button
else if $Button_number == 15
    ps-t100 = ResourceButton_item_button
else if $Button_number == 16
    ps-t100 = ResourceButton_item_button
else if $Button_number == 17
    ps-t100 = ResourceButton_item_button
else if $Button_number == 18
    ps-t100 = ResourceButton_item_button
else if $Button_number == 19
    ps-t100 = ResourceButton_item_button
else if $Button_number == 20
    ps-t100 = ResourceButton_item_button
else if $Button_number == 21
    ps-t100 = ResourceButton_item_button
else if $Button_number == 22
    ps-t100 = ResourceButton_item_button
else if $Button_number == 23
    ps-t100 = ResourceButton_item_button
else if $Button_number == 24
    ps-t100 = ResourceButton_item_button
else if $Button_number == 25
    ps-t100 = ResourceButton_item_button
else if $Button_number == 26
    ps-t100 = ResourceButton_item_button
else if $Button_number == 27
    ps-t100 = ResourceButton_item_button
else if $Button_number == 28
    ps-t100 = ResourceButton_item_button
else if $Button_number == 29
    ps-t100 = ResourceButton_item_button
else if $Button_number == 30
    ps-t100 = ResourceButton_item_button

endif


[CommandListPassWindowInfo]
if window_width >= 640
    $res_width = window_width
    $res_height = window_height

else if rt_width >= 640
    $res_width = rt_width
    $res_height = rt_height
else if res_width >= 640
    $res_width = res_width
    $res_height = res_height
else
    $res_width = $window_width
    $res_height = $window_height
endif

[CommandListAddButton]
$Button_number = $Button_number + 1
if $Button_number <= $Button_amount
    run = CommandListButtonBlock
endif

[CommandListButtonBlock]
$Button_column_gap = $gap
$Button_group_width = ($x_size_Button * $Button_horizontal_max) + ($Button_column_gap * ($Button_horizontal_max - 1))
if $Button_horizontal_max > 1
    $Button_x = $final_x_off + (($x_size - $Button_group_width) / 2) + 0.0038 + (($x_size_Button + $Button_column_gap) * (($Button_number - 1) % $Button_horizontal_max))
else
    $Button_x = $final_x_off + (($x_size - $x_size_Button) / 2)
endif
$Button_y = $final_y_off + ((($y_size_Button + $gap)  * (($Button_number - 1) // $Button_horizontal_max) + $y_offset_button ) * res_width / res_height)

run = CommandListDrawButton
$ButtonLayerGeneration = !$ButtonLayerGeneration
run = CommandListDrawButton
if cursor_y > $Button_y && cursor_y < $Button_y + ($y_size_Button * res_width / res_height)
    if $Button_amount >= $Button_number
        if cursor_x > $Button_x && cursor_x < $Button_x + $x_size_Button
            if $mouse_clicked
                $Button_now = $Button_number
                run = CommandListSetButtonCondition
            endif
            run = CommandListDrawButtonEffect
        endif
    endif
endif

[CommandListCheckMouse]
$mouse_clicked = 0

if $is_dragging == 1
    if $mouse_hold
        run = CommandListMoveUIElement
    else
        $is_dragging = 0
    endif
else if cursor_x > $final_x_off && cursor_x < $final_x_off + $x_size
    if cursor_y > $final_y_off && cursor_y < $final_y_off + $y_size
        if $mouse_hold
            run = CommandListStartDrag
            run = CommandListMoveUIElement
        else
            $is_dragging = 0
        endif
    endif
endif

[CommandListDrawButtonEffect]
x87 = $x_size_Button
y87 = $y_size_Button * res_width / res_height
z87 = $Button_x
w87 = $Button_y
if $is_dragging && $Button_now == $Button_number
    w87 = $Button_y + $press_effect
endif
if $is_dragging == 0
    ps-t100 = ResourceUIButtonSelect
else
    ps-t100 = ResourceButtonPush
endif
run = CustomShaderElement

[CommandListDrawButton]
x87 = $x_size_Button
y87 = $y_size_Button * res_width / res_height
z87 = $Button_x
w87 = $Button_y
if $is_dragging && $Button_now == $Button_number
    w87 = $Button_y + $press_effect
endif
if $ButtonLayerGeneration
    ps-t100 = ResourceOutlineButton
else
    run = CommandListSetButtonIcon
endif
run = CustomShaderElement

[CommandListDrawUICharacter]
x87 = $x_size*0.6
y87 = x87 * (16/9) * 2.075
z87 = $final_x_off-$x_size*0.45
w87 = $final_y_off-$x_size * (16/9) *0.09
ps-t100 = ResourceCharacter
run = CustomShaderElement

[CommandListDrawUIElement]
x87 = $x_size_Background
y87 = $y_size_Background
z87 = $final_x_off + $x_offset_Background
w87 = $final_y_off + $y_offset_Background
ps-t100 = ResourceUIBackground
run = CustomShaderElement

[CommandListDrawUICredit]
x87 = $x_Credit_size
y87 = $y_Credit_size
z87 = $final_x_off + $x_size - $x_Credit_size*1.07
w87 = $final_y_off + ($y_size - $y_Credit_size)*0.855
ps-t100 = ResourceUICredit
run = CustomShaderElement

[CommandListDrawUIBorderXUpper]
x87 = $x_size
y87 = $UI_Thickness * res_width / res_height * 14
z87 = $final_x_off
w87 = $final_y_off - $UI_Thickness * res_width / res_height * 14
ps-t100 = ResourceBU
run = CustomShaderElement

[CommandListDrawUIBorderXLower]
x87 = 0
y87 = $UI_Thickness * res_width / res_height
z87 = $final_x_off
w87 = $final_y_off + $y_size - $UI_Thickness
ps-t100 = ResourceUIColorBorder
run = CustomShaderElement

[CommandListDrawUIBorderXMiddle]
x87 = $x_size
y87 = $UI_Thickness * res_width / res_height*2.2
z87 = $final_x_off
w87 = $final_y_off + $y_Title_size - $UI_Thickness*0.41
ps-t100 = ResourceBT
run = CustomShaderElement

[CommandListDrawUIBorderXMiddle2]
x87 = 0
y87 = $UI_Thickness * res_width / res_height
z87 = $final_x_off
w87 = $final_y_off + $y_size - $y_Credit_size - $UI_Thickness
ps-t100 = ResourceUIColorBorder
run = CustomShaderElement

[CommandListDrawUIBorderYLeft]
x87 = $UI_Thickness * 14
y87 = $y_size
z87 = $final_x_off - $UI_Thickness * 14
w87 = $final_y_off
ps-t100 = ResourceBL
run = CustomShaderElement

[CommandListDrawUIBorderYRight]
x87 = $UI_Thickness * 14
y87 = $y_size
z87 = $final_x_off + $x_size 
w87 = $final_y_off
ps-t100 = ResourceBR
run = CustomShaderElement

[CommandListStartDrag]
if $is_dragging == 0
    $drag_start_x = cursor_x - $final_x_off
    $drag_start_y = cursor_y - $final_y_off
    $is_dragging = 1
endif

[CommandListMoveUIElement]
if $is_dragging == 1
    if $mouse_hold
        $new_x_off = cursor_x - $drag_start_x
        $new_y_off = cursor_y - $drag_start_y

        if $new_x_off + $x_offset_Background < 0
            $final_x_off = 0 - $x_offset_Background
        else if $new_x_off + $x_offset_Background + $x_size_Background > 1
            $final_x_off = 1 - $x_offset_Background - $x_size_Background
        else
            $final_x_off = $new_x_off
        endif

        if $new_y_off + $y_offset_Background < 0
            $final_y_off = 0 - $y_offset_Background
        else if $new_y_off + $y_offset_Background + $y_size_Background > 1
            $final_y_off = 1 - $y_offset_Background - $y_size_Background
        else
            $final_y_off = $new_y_off
        endif
    else
        $is_dragging = 0
    endif
endif

[CustomShaderElement]
hs = null
ds = null
gs = null
cs = null
run = BuiltInCommandListUnbindAllRenderTargets
vs = .\res\draw_2d.hlsl
ps = .\res\draw_2d.hlsl
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = triangle_strip
o0 = set_viewport bb
Draw = 4,0

[ResourceUIColorBorder]
filename = .\res\Border.png

[ResourceUIBackground]
filename = .\res\Background.png

[ResourceUIButtonSelect]
filename = .\res\Selected.png

[ResourceOutlineButton]
filename = .\res\Button.png

[ResourceButtonPush]
filename = .\res\Push.png

[ResourceUICredit]
filename = .\res\Credits.png

[ResourceButton_item_button]
filename = .\res\item_button.png

[ResourceCharacter]
filename = .\res\Character.png

[ResourceBU]
filename = .\res\BU.png

[ResourceBL]
filename = .\res\BL.png

[ResourceBR]
filename = .\res\BR.png

[ResourceBT]
filename = .\res\BT.png
